package com.company.project.service;
import com.company.project.model.Authors;
import com.company.project.core.Service;
import com.company.project.util.PageUtil;
import org.omg.PortableInterceptor.INACTIVE;

import java.awt.*;
import java.util.List;
import java.util.Map;


/**
 * Created by CodeGenerator on 2018/10/08.
 */
public interface AuthorsService extends Service<Authors> {
    /**
     * 根据作者查询
     * @param cname
     * @return
     */
    PageUtil<Map<Object,Object>> frontendQuery(String cname, Integer index);
    Integer frontendQueryCount(String name);
    //根据作者id查询稿件
    List selectmanuscript(Integer id);
    //根据id查询评估
    List selectAssessById(Integer id);

    //添加作者
    Integer InsetsAuthorsList(List<Authors> authorsList);

}
